package cn.wetcland.urban.admin.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class BrandUpdateDTO {

    @NotNull(message = "ID未传入")
    private Long carTemplateId;

    /**
     * 车容量
     */
    @Range(min = 1, max = 10, message = "请输入车容量")
    private Integer carCapacity;

    /**
     * 品牌
     */
    @NotBlank(message = "请输入品牌名称")
    private String carBrand;

}
